<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"  
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">

<h:head><title>IGNORED</title></h:head>

<h:body>
	<ui:composition template="/WEB-INF/templates/MainLayout.xhtml">
	<ui:define name="windowTitle">Home</ui:define>
	<ui:define name="content">
	
	<f:view contentType="text/html">
	
	<div style="margin-left: 5em;margin-top: 1em;">


	<h:form>
				<p:panel>
					<f:facet name="header">
						<h:outputText
							value="Bienvenido al Sistema, haga Clic en un Modulo para Empezar" />
					</f:facet>
					<h:panelGrid columns="3" columnClasses="first, first, first">
						<h:column>
							<h:panelGrid columns="2">
								<p:commandLink action="persona/personal?faces-redirect=true" >
									<h:graphicImage value="/resources/gfx/clients.png"
										width="100px" height="100px" />
								</p:commandLink>
								<h:outputText value="Personal" styleClass="title" />
							</h:panelGrid>
						</h:column>
						<h:column>
							<h:panelGrid columns="2">
								<h:commandLink action="paciente/paciente?faces-redirect=true" >
									<h:graphicImage value="/resources/gfx/iconos/paciente128.png"
										width="100px" height="100px" />
								</h:commandLink>
								<h:outputText value="Paciente" styleClass="title" />
							</h:panelGrid>
						</h:column>
						<h:column>
							<h:panelGrid columns="2">
								<h:commandLink action="terapeuta/terapeuta?faces-redirect=true" >
									<h:graphicImage value="/resources/gfx/iconos/terapeutas128.png"
										width="100px" height="100px" />
								</h:commandLink>
								<h:outputText value="Terapeuta" styleClass="title" />
							</h:panelGrid>
						</h:column>

						<h:column>
							<h:panelGrid columns="2">
								<h:commandLink action="cita/cita?faces-redirect=true" >
									<h:graphicImage value="/resources/gfx/iconos/calendario48.png"
										width="100px" height="100px" />
								</h:commandLink>
								<h:outputText value="Citas" styleClass="title" />
							</h:panelGrid>
						</h:column>
						<h:column>
							<h:panelGrid columns="2">
								<h:commandLink action="servicio/servicio?faces-redirect=true" >
									<h:graphicImage value="/resources/gfx/iconos/citas128.png"
										width="100px" height="100px" />
								</h:commandLink>
								<h:outputText value="Servicios" styleClass="title" />
							</h:panelGrid>
						</h:column>
						<h:column>
							<h:panelGrid columns="2">
								<h:commandLink action="pago/pagos?faces-redirect=true" >
									<h:graphicImage value="/resources/gfx/iconos/consultorio128.jpg"
										width="100px" height="100px" />
								</h:commandLink>
								<h:outputText value="Conduce de Pagos" styleClass="title" />
							</h:panelGrid>
						</h:column>
						<h:column>
							<h:panelGrid columns="2">
								<h:commandLink action="mainReportes" >
								<h:graphicImage value="/resources/gfx/iconos/report.png"
									width="100px" height="100px" />
								</h:commandLink>
								<h:outputText value="Reportes" styleClass="title" />
							</h:panelGrid>
						</h:column>
						<h:column>
							<h:panelGrid columns="2">
								<h:commandLink action="mainControlFactura" >
								<h:graphicImage value="/resources/gfx/iconos/dinero$.png" width="100px" height="100px"/>
								</h:commandLink>
								<h:outputText value="Control Facturas" styleClass="title" />
							</h:panelGrid>
						</h:column>
						<h:column>
							<h:panelGrid columns="2">
								<h:commandLink action="mainUsuarios" >
								<h:graphicImage value="/resources/gfx/iconos/usuario128.png"
									width="100px" height="100px" />
								</h:commandLink>
								<h:outputText value="Usuarios" styleClass="title" />
							</h:panelGrid>
						</h:column>
					</h:panelGrid>
				</p:panel>
		</h:form>		


	</div>
	</f:view>

	</ui:define>
</ui:composition>
</h:body>
</html>
